package com.huaixia18.systemnotice.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 事件提醒表
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_event_remind")
public class EventRemind extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("action")
    private String action;

    @TableField("source_id")
    private Long sourceId;

    @TableField("source_type")
    private String sourceType;

    @TableField("source_content")
    private String sourceContent;

    @TableField("url")
    private String url;

    @TableField("state")
    private boolean state;

    @TableField("sender_id")
    private Long senderId;

    @TableField("recipient_id")
    private Long recipientId;

    @TableField("remind_time")
    private Date remindTime;

}
